<template>
	<div class="wrapPrecharge">
		<header>
			<img src="../../static/img/back.png" />
			<p>钱包预充值</p>
			<span>帮助</span>
		</header>
		<div class="content">
			
			<span class="spanTitle">充值卡号</span>
			<p class="inputP">
				<span>31049907</span>
				<input placeholder="请输入后11位卡号" />
				<i><img src="../../static/img/bottomArrow.png" /></i>
				
				
				<small class="cardNumList">
					<ul>
						<li><span class="spanNum">212313212123123123132</span><span class="spanName">爸爸</span></li>
						<li><span class="spanNum">212313212123123123132</span><span class="spanName">爸爸</span></li>
						<li><span class="spanNum">212313212123123123132</span><span class="spanName">爸爸</span></li>
						<li><span class="spanNum">212313212123123123132</span><span class="spanName">爸爸</span></li>
						<li><span style="text-align: center;color: #979797;display: block;font-size: 0.4rem;">选择/添加常用卡号</span></li>
					</ul>
				</small>	
			</p>
			
			<span class="spanTitle">充值金额</span>
			<ul class="chooseMoney">
				<li class="marginRight marginBottom">20元</li>
				<li class="marginRight marginBottom">50元</li>
				<li class="marginBottom">100元</li>
				<li class="marginRight">300元</li>
				<li class="marginRight">500元</li>
				<li>其他金额</li>
			</ul>
			<span class="spanTitle">支付方式</span>
			<p class="chargeType"><img class="logoImg" src="../../static/img/zhaoshang.png" /><span>招商银行一网通</span><img class="chooseImg" src="../../static/img/choosed.png" /></p>
			<button class="chargeBtn">立即充值</button>
			<p class="pWarn">
				<span>温馨提示：</span>
				<span>充值金额不能低于10元，且充值余额不能超度过1000元。</span>
			</p>
		</div>
	</div>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		}
	}
</script>

<style scoped="scoped" lang="less">
	@grayColor:#979797;
	.wrapPrecharge{
		background: #f5f5f5;
		height: 100%;
	}
	header{
		position: relative;
		height: 1.48rem;
		background: white;
		img{
			height: 0.66rem;
			margin-top: 0.41rem;
			margin-left: 0.44rem;
		}
		p{
			position: absolute;
			left: 0;
			top: 0;
			width: 60%;
			margin-left: 20%;
			height: 100%;
			text-align: center;
			font-size: 0.6rem;
			line-height: 1.48rem;
		}
		span{
			font-size: 0.42rem;
			color: #55c259;
			float: right;
			height: 100%;
			line-height: 1.48rem;
			margin-right: 0.56rem;
		}
	}
	
	.content{
		width: 92%;
		margin-left: 4%;
		margin-top: 0.48rem;
		box-shadow: 0 0px 2px 2px #e4f3e7;
		background: white;
		border-radius: 0.3rem;
		box-sizing: border-box;
		padding-left: 0.54rem;
		padding-right: 0.54rem;
		padding-bottom:0.6rem ;
		.spanTitle{
			font-size: 0.4rem;
			color:@grayColor;
			padding-top: 0.42rem;
			display: block;
		}
		.inputP{
			width: 100%;
			height:1.22rem;
			background: #f5f6f7;
			border-radius: 0.9rem;
			font-size: 0.42rem;
			margin-top: 0.35rem;
			position: relative;
			
			span{
				height: 100%;
				line-height: 1.22rem;
				padding-left: 0.6rem;
				color: @grayColor;
				display: inline-block;
			}
			input::-webkit-input-placeholder{
				color: @grayColor;
			}
			input{
				box-sizing: border-box;
				padding: 0;
				height: 100%;
				line-height: 100%;
				background: #f5f6f7;
				margin-left: 1.5rem;
				width: 3.5rem;
			
			}
			i{
				float: right;
				height: 100%;
				line-height: 1.22rem;
				margin-right: 0.58rem;
				img{
					height: 0.3rem;
				}
			}
			
			.cardNumList{
				border-radius: 0.7rem;
				border: 1px solid #55c259;
				padding-top:1.22rem ;
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				background: ;
				overflow: hidden;
				ul{
					background: white;
					li{
						height:1.1rem;
						font-size: 0.44rem;
						.spanNum{
							color: #2d2d2d;
							float: left;
							height: 100%;
							line-height: 1.1rem;
						}
						.spanName{
							float: right;
							height: 100%;
							line-height: 1.1rem;
							margin-right:0.52rem ;
							color:#55c259 ;
						}
					}
				}
			}
		}
		
		.chooseMoney{
			overflow: hidden;
			margin-top: 0.36rem;
			li{
				float: left;
				width: 30%;
				height: 1.16rem;
				border:1px solid #242736;
				text-align: center;
				line-height: 1.16rem;
				color:#242736 ;
				border-radius: 1px;
			}
			.marginRight{
				margin-right: 3.5%;
			}
			.marginBottom{
				margin-bottom:0.28rem;
			}
		}
		.chargeType{
			overflow: hidden;
			height: 0.7rem;
			margin-top: 0.45rem;
			.logoImg{
				width: 0.7rem;
				float: left;
			}
			span{
				font-size: 0.42rem;
				float: left;
				height: 0.7rem;
				line-height: 0.7rem;
				margin-left:0.44rem;
			}
			.chooseImg{
				float: right;
				width: 0.7rem;
			}
		}
		.chargeBtn{
			width: 100%;
			border-radius: 0.8rem;
			background:#55c259 ;
			color: white;
			font-size: 0.42rem;
			border: 0 none;
			height: 1.2rem;
			margin-top:0.7rem ;
		}
		.pWarn{
			margin-top: 0.5rem;
			span{
				font-size: 0.4rem;
				color: #b3b3b3;
				display: block;
			}
		}
	}
	
</style>